package com.hxexp.weixin.hpe.api.userorderlist.model;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * 车票信息
 * @author li.jiang
 *
 */
public final class TicketInfoBean implements Serializable {

    private static final long serialVersionUID = -856716649803506L;
    /**
     * 车票号
     */
    private String ticketId;
    /**
     * 票价
     */
    private String ticketPrice;
    /**
     * 车票类别
     */
    private String ticketType;
    /**
     * 车票类别名
     */
    private String ticketTypeName;
    /**
     * 服务费
     */
    private String servicePrice;
    /**
     * 座位号
     */
    private String seatNo;
    /**
     * 是否携带免票标示
     */
    @JsonProperty("contactType")
    private String carryFreeTicketFlag;
    /**
     * @return the ticketId
     */
    public String getTicketId() {
        return ticketId;
    }
    /**
     * @param ticketId the ticketId to set
     */
    public void setTicketId(String ticketId) {
        this.ticketId = ticketId;
    }
    /**
     * @return the ticketPrice
     */
    public String getTicketPrice() {
        return ticketPrice;
    }
    /**
     * @param ticketPrice the ticketPrice to set
     */
    public void setTicketPrice(String ticketPrice) {
        this.ticketPrice = ticketPrice;
    }
    /**
     * @return the ticketType
     */
    public String getTicketType() {
        return ticketType;
    }
    /**
     * @param ticketType the ticketType to set
     */
    public void setTicketType(String ticketType) {
        this.ticketType = ticketType;
    }
    /**
     * @return the ticketTypeName
     */
    public String getTicketTypeName() {
        return ticketTypeName;
    }
    /**
     * @param ticketTypeName the ticketTypeName to set
     */
    public void setTicketTypeName(String ticketTypeName) {
        this.ticketTypeName = ticketTypeName;
    }
    /**
     * @return the servicePrice
     */
    public String getServicePrice() {
        return servicePrice;
    }
    /**
     * @param servicePrice the servicePrice to set
     */
    public void setServiceCharge(String servicePrice) {
        this.servicePrice = servicePrice;
    }
    /**
     * @return the seatNo
     */
    public String getSeatNo() {
        return seatNo;
    }
    /**
     * @param seatNo the seatNo to set
     */
    public void setSeatNo(String seatNo) {
        this.seatNo = seatNo;
    }
    /**
     * @return the carryFreeTicketFlag
     */
    public String getCarryFreeTicketFlag() {
        return carryFreeTicketFlag;
    }
    /**
     * @param carryFreeTicketFlag
     *            the carryFreeTicketFlag to set
     */
    public void setCarryFreeTicketFlag(String carryFreeTicketFlag) {
        this.carryFreeTicketFlag = carryFreeTicketFlag;
    }
    /* (non-Javadoc)
     * @see java.lang.Object#toString()
     */
    @Override
    public String toString() {
        return String.format(
                "TicketInfoBean [ticketId=%s, ticketPrice=%s, ticketType=%s, ticketTypeName=%s, servicePrice=%s, seatNo=%s, carryFreeTicketFlag=%s]",
                ticketId, ticketPrice, ticketType, ticketTypeName, servicePrice, seatNo, carryFreeTicketFlag);
    }

}
